<template>
  <section class="container">
    <div id="wrapper">
      <div class="header">
        <div class="header_logo">
          <a href="/">我的藏书阁</a>
        </div>
      </div>
      <AppLogo></AppLogo>
      <div class="box_con">
        <div class="con_top">
          <a href="/">我的藏书阁</a> &gt;
          <a href="/xclass/1/1.html">玄幻奇幻</a> &gt; 万界天尊最新章节列表
        </div>

        <h1>永久书架组件</h1>
      </div>
      <script>
        listindex();
      </script>
      <div class="box_con">
        <div id="list">
          <dl>
            <dt>《万界天尊》正文</dt>

            <!-- 循环开始 -->
            <dd>
              <a href="/76_76449/135870.html">新书咯！</a>
            </dd>
            <!-- 循环结束 -->
          </dl>
        </div>
      </div>
      <div id="footer" name="footer">
        <div class="footer_link">新书推荐：
          <a href="/1_1203/" title="凡人修仙之仙界篇">凡人修仙之仙界篇</a>
          <a href="/3_3197/" title="飞剑问道">飞剑问道</a>
          <a href="/9_9208/" title="伏天氏">伏天氏</a>
          <a href="/20_20331/" title="万古神帝">万古神帝</a>
          <a href="/34_34822/" title="三寸人间">三寸人间</a>
          <a href="/66_66414/" title="龙王传说">龙王传说</a>
          <a href="/68_68470/" title="斗战狂潮">斗战狂潮</a>
          <a href="/74_74821/" title="圣墟">圣墟</a>
          <a href="/77_77268/" title="剑来">剑来</a>
          <a href="/77_77473/" title="牧神记">牧神记</a>
          <a href="/78_78113/" title="汉乡">汉乡</a>
          <a href="/78_78201/" title="大王饶命">大王饶命</a>
        </div>
        <div class="footer_cont">
          <p>《万界天尊》情节跌宕起伏、扣人心弦，是一本情节与文笔俱佳的都市小说，我的藏书阁转载收集万界天尊最新章节。</p>
          <p>本站所有小说为转载作品，所有章节均由网友上传，转载至本站只是为了宣传本书让更多读者欣赏。</p>
          <p>Copyright © 2019 我的藏书阁 All Rights Reserved.</p>
          <script type="text/javascript">
            footer();
            dl();
          </script>
        </div>
      </div>
    </div>
  </section>
</template>

<script>
import AppLogo from "~/components/AppLogo.vue";
import axios from "axios";

export default {
  components: {
    AppLogo
  },
  data() {
    return {
      name: "", //书名
      author: "", //作者
      desc: "", //描述
      label: "" //频道
    };
  },
  created() {
    axios
      .get("https://uniontest.bookapi.cn/union/book/cover?skipAuth=true", {
        params: {
          book_chapter_id: "5790b95ce64f736eb98e10ee",
          book_id: "5790b95ce64f736eb98e10ee",
          book_source_id: "5790b95ce64f736eb98e10ee"
        }
      })
      .then(response => {
        (this.name = response.data.data.name), //书名
          (this.author = response.data.data.author), //作者
          (this.desc = response.data.data.desc), //描述
          (this.label = response.data.data.label); //频道
      })
      .catch(function(err) {
        console.log(err);
      });
  }
};
</script>

<style scoped>
.container {
  min-height: 100vh;
}

.title {
  font-family: "Quicksand", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 1 */
  display: block;
  font-weight: 300;
  color: #35495e;
  letter-spacing: 1px;
}
</style>

